package com.zlp.mall.portal.modules.oms.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@ApiModel(value = "订单提交参数")
public class OrderSubmitRep implements Serializable {

    @NotEmpty(message = "购物车ID为空")
    @ApiModelProperty(value = "购物车ID")
    private List<Long> itemIds;

    @NotNull(message = "用户收货地址信息ID为空")
    @ApiModelProperty(value = "用户收货地址信息ID")
    private Long memberReceiveAddressId;



}
